<template>
  <div class="sonson">
    <h2>子组件的子组件</h2>
  </div>
</template>

<script>
export default {
  beforeCreate () {
    console.log('孙子组件-beforeCreate-执行啦!')
  },
  created () {
    console.log('孙子组件-created-执行啦!')
  },
  beforeMount () {
    console.log('孙子组件-beforeMount-执行啦!')
  },
  mounted () {
    console.log('孙子组件-mounted-执行啦!')
  },
  beforeUpdate () {
    console.log('孙子组件-beforeUpdate-执行啦!')
  },
  updated () {
    console.log('孙子组件-updated-执行啦!')
  },
  beforeDestroy () {
    console.log('孙子组件-beforeDestroy-执行啦!')
  },
  destroyed () {
    console.log('孙子组件-destroyed-执行啦!')
  }
}
</script>

<style>
.sonson {
  padding: 10px;
  background-color: orange;
}
</style>
